﻿
body
{
    background: #333;
}

#wrap
{
  width: 720px;
  padding-left: 30px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
  background: #fff;
  -webkit-border-radius: 20px;
}

#header
{
  text-align: center;
  padding-top: 20px;
}

.logo
{
  background-image: url(images/logo.png);
  background-repeat: no-repeat;
  background-position: center;
  height: 84px;
  width: inherit;
  margin-bottom: -10px;
}

#playingTable 
{
  width: 550px;
  float: left;
}

#playerTable .gameGrid
{
  background-image: url(images/sea.png);
 }
 
 #opponentTable .gameGrid
 {
   background-image: url(images/sea_dark.png);
 }
 
 #opponentTable .gamegrid td
 {
     background: white;
     opacity: 0.7;
 }
 
 #opponentTable .gamegrid td:hover
 {
     opacity:0;
 }

.board, #optionsPane, #playingTable {
	display:inline-block;
}

.gameGrid {
	border-collapse:collapse;
	box-shadow: 10px 10px 20px #ccc;
}

.gameGrid td {
	border: 1px solid white;
	width: 20px;
	height: 20px;
}

.gameGrid th
{
  background-color: White;
  font-family:Verdana;
  font-size: smaller;
  border-collapse:collapse;
  border: 1px solid white;
}
#opponentTable 
{
  margin-right: 40px;
  background-image: url(images/sea.png);
}

#rightPane
{
  width: 140px;
  float: left;
  margin-top: 20px;
  margin-left: 20px;
  height: 200px;
  overflow: hidden;  
}

.ships1
{
  height: 110px;
  width: 140px;
}

.ships2
{
  height: 90px;
  width: 140px;
}

.s
{
  display:inline-block;
}

.s img
{
  margin-bottom: 7px;
}

.r1
{
  width: 80px;
  height: inherit;
  text-align: center;
  margin-right: 3px;
}

.r2
{
  width: 40px;
  height: inherit;
  text-align: center;
}

.firstShip
{
}

.secondShip
{
}

.thirdShip
{
}

.fourthShip
{
}

#middlePart
{
  height: 225px;
}

#gameFooter
{
  height: 120px;
  width: inherit;
  text-align: center;
}

a
{
  text-decoration:none
}
 
#button-container{
    position: relative; /*Important, Keeps the CSS3 Shapes in place*/
    display: inline-block;
    padding-bottom: 20px;
    height: 45px;
}

#button-container a{
    margin-left: 2px;
}
 
.button, .buttonSmall{
    float: left;
    padding: 10px;
    background-color: #ddd;

 
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    border-radius:10px;
 
    -moz-box-shadow:0 2px 0 #4c9434;
    -webkit-box-shadow:0 2px 0 #4c9434;
    box-shadow:0 2px 0 #4c9434;
 
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0, #60B842),
        color-stop(0.85, #7FD13D)
    );
    background-image: -moz-linear-gradient(
        center bottom,
        #60B842 0%,
        #7FD13D 85%
    );
 
    color:#fff;
    font-family:arial,helvetica,sans-serif;
    font-size:17px;
    font-weight:bold;
    text-shadow:1px 1px 1px #4c9434;
}

.buttonSmall 
{
  padding: 5px;
  font-size: 12px;
  float: none;
}
 
.button:hover, .buttonSmall:hover{
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0, #6DD14B),
        color-stop(0.85, #85DB40)
    );
    background-image: -moz-linear-gradient(
        center bottom,
        #6DD14B 0%,
        #85DB40 85%
    );
    box-shadow:0 2px 0 #5EA839;
}
 
.button:active, .buttonSmall:active{
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0, #6DD14B),
        color-stop(0.85, #85DB40)
    );
    background-image: -moz-linear-gradient(
        center bottom,
        #6DD14B 0%,
        #85DB40 85%
    );
    box-shadow:0 1px 0 #5EA839;
    margin-top: 1px;
}

